
module("NetWork.Action.ResponseGroupReviewAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

ResponseGroupReviewAction = NetCmdActionBase:new()

function ResponseGroupReviewAction:Action(bytes)
    local ResponseGroupReviewSm = require("Protol.groupMessage_pb").ResponseGroupReviewSm()
    ResponseGroupReviewSm:ParseFromString(bytes)

    if ResponseGroupReviewSm.code ~= 0 then
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(ResponseGroupReviewSm.code)
        return
    end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.ResponseGroupReviewSm(ResponseGroupReviewSm)
end

require("NetWork.NetCmdSet").CmdSet[2008] = ResponseGroupReviewAction --注册处理对象